#ifndef PJOINT_H
#define PJOINT_H

#include "pEntity.h"

namespace Tmpl8
{

class pJoint : public pEntity
{
public:
	pJoint(unsigned int aIndex, b2Joint* aJoint, pBody* aBody1, pBody* aBody2);

	void Draw();

	ENTITY_TYPE GetType(){ return ENTITY_JOINT; }

	float				GetAngle() { return 0; }
	vector3				GetPosition();
	void				Tick();

protected:
	b2Joint* mJoint;
	pBody* mBody1;
	pBody* mBody2;
};

};

#endif